/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package assignment2.pkg1;


/**
 *
 * @author MBoon
 */
public class Event {

    private double time; // the time of the event
    private int type;    // the event type, ARRIVAL or DEPARTURE
    private Customer customer; // the customer to which the event applies;
    public final static int ARRIVAL = 0;
    public static final int DEPARTURE = 1;
    
    public Event(double time, int type) {
        this.time = time;
        this.type = type;
    }
    
    public Event(double time, int type, Customer c) {
        this.time = time;
        this.type = type;
        this.customer = c;
    }
    
    public double getTime() {
        return time;
    }
    
    public int getType() {
        return type;
    }
    
    public Customer getCustomer(){
        return customer;
    }
    
    
    
    
    
    
    
    
    
    
    
}
